package xyz.zdsoft.course_manage_module.bo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.Past;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "条件查询课程类")
public class SelCourseInfoGch {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程名称", required = false)
    private String courseName;

    @ApiModelProperty(value = "责任老师姓名", required = false)
    private String dutyTeacher;

    @ApiModelProperty(value = "实训老师姓名", required = false)
    private String trainTeacher;

    @ApiModelProperty(value = "开始日期(yyyy-MM-dd)", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startDate;

    @ApiModelProperty(value = "结束日期(yyyy-MM-dd)", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;

}
